package com.example.testp;

import android.graphics.Bitmap;
import android.graphics.Canvas;

public class Sprite extends Layer {

	private int collisionRectX;
	private int collisionRectY;
	private int collisionRectWidth;
	private int collisionRectHeight;
	public static final int TRANS_NONE = 0;
	public static final int TRANS_ROT90 = 5;
	public static final int TRANS_ROT180 = 3;
	public static final int TRANS_ROT270 = 6;
	public static final int TRANS_MIRROR = 2;
	public static final int TRANS_MIRROR_ROT90 = 7;
	public static final int TRANS_MIRROR_ROT180 = 1;
	public static final int TRANS_MIRROR_ROT270 = 4;
	@Override
	public void paint(Canvas c) {
		// TODO Auto-generated method stub

	}
	public Sprite(Bitmap image) {
		super(image.getWidth(), image.getHeight());

		initializeFrames(image, image.getWidth(), image.getHeight(), false);
		initCollisionRectBounds();
		this.setTransformImpl(TRANS_NONE);
	}
	private void setTransformImpl(int transNone) {
		// TODO Auto-generated method stub
		;
		
	}
	private void initializeFrames(Bitmap image, int width, int height, boolean b) {
		// TODO Auto-generated method stub
		
	}
	private void initCollisionRectBounds() {

		collisionRectX = 0;
		collisionRectY = 0;

		collisionRectWidth = this.width;
		collisionRectHeight = this.height;

	}

}
